package com.lanswon.qzsmk.model;

import java.io.Serializable;

public class Role implements Serializable {
    /** 系统ID */
    private Integer sysId;

    /** 角色ID */
    private Integer roleId;

    /** 编号 */
    private String roleNo;

    /** 名称 */
    private String roleName;

    /**  */
    private String roleExplain;

    /** 所有者 */
    private String roleOwner;

    private static final long serialVersionUID = 1L;

    
    
    
    /**
	 * @param sysId
	 * @param roleId
	 * @param roleNo
	 * @param roleName
	 * @param roleExplain
	 * @param roleOwner
	 */
	public Role(Integer sysId, Integer roleId, String roleNo, String roleName, String roleExplain, String roleOwner) {
		super();
		this.sysId = sysId;
		this.roleId = roleId;
		this.roleNo = roleNo;
		this.roleName = roleName;
		this.roleExplain = roleExplain;
		this.roleOwner = roleOwner;
	}

	/**
	 * 
	 */
	public Role() {
	}

	/**
	 * @param sysId
	 * @param roleName
	 * @param roleOwner
	 */
	public Role(Integer sysId, String roleName, String roleOwner) {
		super();
		this.sysId = sysId;
		this.roleName = roleName;
		this.roleOwner = roleOwner;
	}

	public Integer getSysId() {
        return sysId;
    }

    public void setSysId(Integer sysId) {
        this.sysId = sysId == null ? null : sysId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId == null ? null : roleId;
    }

    public String getRoleNo() {
        return roleNo;
    }

    public void setRoleNo(String roleNo) {
        this.roleNo = roleNo == null ? null : roleNo.trim();
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleExplain() {
        return roleExplain;
    }

    public void setRoleExplain(String roleExplain) {
        this.roleExplain = roleExplain == null ? null : roleExplain.trim();
    }

    public String getRoleOwner() {
        return roleOwner;
    }

    public void setRoleOwner(String roleOwner) {
        this.roleOwner = roleOwner == null ? null : roleOwner.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sysId=").append(sysId);
        sb.append(", roleId=").append(roleId);
        sb.append(", roleNo=").append(roleNo);
        sb.append(", roleName=").append(roleName);
        sb.append(", roleExplain=").append(roleExplain);
        sb.append(", roleOwner=").append(roleOwner);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}